﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Celeriq.Template.Interfaces;

namespace Test.Various
{
	class Program
	{
		static void Main(string[] args)
		{
			var query = new ListingQuery();
			var s = query.ToString();

			query.PageOffset = 2;
			s = query.ToString();

			query.FieldSorts.Add(new Celeriq.Template.Interfaces.Sorting.FieldSortDatePosted() { SortDirection = Celeriq.Common.SortDirectionConstants.Desc });
			s = query.ToString();

			query = new ListingQuery("qqq.aspx?" + s);
			s = query.ToString();
		}
	}
}
